package deployment

import (
	"context"
	_k8s "primus/kitex_gen/k8s"
	k8s "primus/pkg/adapter/k8s"
)

type DeploymentBuilder struct {
}

type ServiceBuilder struct {

}

type HPABuilder struct {

}

// K8sServiceImpl implements the last service interface defined in the IDL.
type K8sServiceImpl struct {
	Deployment *k8s.Deployment
	Service    *k8s.Service
	HPA        *k8s.HPA
	NameSpace  *k8s.Namespce

	DeploymentBuilder DeploymentBuilder
	ServiceBuilder    ServiceBuilder
	HPABuilder        HPABuilder

	//IDbService  db.IDbService
	//CheckerRepo IChecker
}

// CreateDeployment implements the K8sServiceImpl interface.
func (s *K8sServiceImpl) CreateDeployment(ctx context.Context, req *_k8s.ReqBody) (resp *_k8s.Response, err error) {
	// TODO: Your code here...
	s.Deployment.List("")
	//service...
	return
}

// UpdateDeployment implements the K8sServiceImpl interface.
func (s *K8sServiceImpl) UpdateDeployment(ctx context.Context, req *_k8s.ReqBody) (resp *_k8s.Response, err error) {
	// TODO: Your code here...
	return
}
